public class EagerSingletonFactory {
    //private static final EagerSingletonFactory = new EagerSingletonFactory();

    private EagerSingletonFactory(){}

    private static final EagerSingletonFactory instance = new EagerSingletonFactory();

    public static EagerSingletonFactory  getInstance(){
        return instance;
    }

    private String myName;

    public String shoInfo(){
        return  Integer.toString(this.hashCode());
    }


    public String getMyName() {
        return myName;
    }

    public void setMyName(String myName) {
        this.myName = myName;
    }
}
